package com.ruoyi.project.infobaseprojectindex.service;

import java.util.List;

import com.ruoyi.project.infobaseprojectindex.domain.InfoBaseProjectIndex;
import com.ruoyi.project.infobaseprojectindex.vo.InfoBaseProjectIndexVo;

/**
 * 基础库-项目库-指标Service接口
 *
 * @author ruoyi
 * @date 2022-02-11
 */
public interface IInfoBaseProjectIndexService {
    /**
     * 查询基础库-项目库-指标
     *
     * @param id 基础库-项目库-指标主键
     * @return 基础库-项目库-指标
     */
    public InfoBaseProjectIndex selectInfoBaseProjectIndexById(Long id);

    /**
     * 查询基础库-项目库-指标列表
     *
     * @param infoBaseProjectIndex 基础库-项目库-指标
     * @return 基础库-项目库-指标集合
     */
    public List<InfoBaseProjectIndex> selectInfoBaseProjectIndexList(InfoBaseProjectIndex infoBaseProjectIndex);

    /**
     * 新增基础库-项目库-指标
     *
     * @param infoBaseProjectIndex 基础库-项目库-指标
     * @return 结果
     */
    public int insertInfoBaseProjectIndex(InfoBaseProjectIndex infoBaseProjectIndex);

    /**
     * 修改基础库-项目库-指标
     *
     * @param infoBaseProjectIndex 基础库-项目库-指标
     * @return 结果
     */
    public int updateInfoBaseProjectIndex(InfoBaseProjectIndex infoBaseProjectIndex);

    /**
     * 批量删除基础库-项目库-指标
     *
     * @param ids 需要删除的基础库-项目库-指标主键集合
     * @return 结果
     */
    public int deleteInfoBaseProjectIndexByIds(Long[] ids);

    /**
     * 删除基础库-项目库-指标信息
     *
     * @param id 基础库-项目库-指标主键
     * @return 结果
     */
    public int deleteInfoBaseProjectIndexById(Long id);

    /**
     * 批量插入项目库  指标
     *
     * @param infoBaseProjectIndexVo
     * @return
     */
    int batchInsertBaseProjectIndex(InfoBaseProjectIndexVo infoBaseProjectIndexVo);

    List<InfoBaseProjectIndex> selectInfoBaseProjectIndexByIds(Long projectId);
}
